package com.emr.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.emr.common.annotation.Excel;
import com.emr.common.base.BaseEntity;

/**
 * 手术记录表 case_operation
 * 
 * @author emr
 * @date 2019-02-20
 */
public class Operation extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 病人id */
	private Integer personalId;
	/** 医生id */
	private Integer personalYishengid;
	/** 护士id */
	private Integer personalHushiid;
	/** 手术名称 */
	private String personalShoushuname;
	/** 手术时长 */
	private Integer personalShoushusc;
	/** 术后状态 */
	private String perosnalBhzt;

	/*虚拟字符串查询用*/
	@Excel(name = "病人姓名")
	private String bingrName;
	@Excel(name = "护士姓名")
	private String husName;
	@Excel(name = "医生姓名")
	private String yisName;


	public String getBingrName() {
		return bingrName;
	}

	public void setBingrName(String bingrName) {
		this.bingrName = bingrName;
	}

	public String getHusName() {
		return husName;
	}

	public void setHusName(String husName) {
		this.husName = husName;
	}

	public String getYisName() {
		return yisName;
	}

	public void setYisName(String yisName) {
		this.yisName = yisName;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPersonalId(Integer personalId) 
	{
		this.personalId = personalId;
	}

	public Integer getPersonalId() 
	{
		return personalId;
	}
	public void setPersonalYishengid(Integer personalYishengid) 
	{
		this.personalYishengid = personalYishengid;
	}

	public Integer getPersonalYishengid() 
	{
		return personalYishengid;
	}
	public void setPersonalHushiid(Integer personalHushiid) 
	{
		this.personalHushiid = personalHushiid;
	}

	public Integer getPersonalHushiid() 
	{
		return personalHushiid;
	}
	public void setPersonalShoushuname(String personalShoushuname) 
	{
		this.personalShoushuname = personalShoushuname;
	}

	public String getPersonalShoushuname() 
	{
		return personalShoushuname;
	}
	public void setPersonalShoushusc(Integer personalShoushusc) 
	{
		this.personalShoushusc = personalShoushusc;
	}

	public Integer getPersonalShoushusc() 
	{
		return personalShoushusc;
	}
	public void setPerosnalBhzt(String perosnalBhzt) 
	{
		this.perosnalBhzt = perosnalBhzt;
	}

	public String getPerosnalBhzt() 
	{
		return perosnalBhzt;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personalId", getPersonalId())
            .append("personalYishengid", getPersonalYishengid())
            .append("personalHushiid", getPersonalHushiid())
            .append("personalShoushuname", getPersonalShoushuname())
            .append("personalShoushusc", getPersonalShoushusc())
            .append("perosnalBhzt", getPerosnalBhzt())
            .toString();
    }
}
